﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OneMG.Phoenix.Service.Model;
using OneMG.Phoenix.Service.Contracts;
using OneMG.Phoenix.Service;
namespace OneMG.Phoenix.AdminSite.Views.Links
{
    public partial class Edit : System.Web.UI.Page
    {
        ILinksService ILinks = new LinksService();
        public LinksModel objLinks;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {


                if (!string.IsNullOrEmpty(Request.QueryString["lid"]))
                {
                    int linksID = int.Parse(Request.QueryString["lid"]);

                    objLinks = ILinks.GetByLinkID(linksID);
                }

            }

        }

    }
}
